﻿<form name="form__%id%_">
  <input type="hidden" name="mode" value="apply" />
  <input type="hidden" name="id" id="id" value="_%id%_" />
  <div class="title">
    <input type="text" name="title" value="_%title%_">
    表示 : _%visible%_
  </div>
  <input type="button" value="エディタの起動" onclick="window.open('editor.html?id=_%id%_', null)">
  _%file_list%_
  <div class="contents">
    <textarea name="contents" id="contents__%id%_">_%contents%_</textarea>
  </div>
  <div class="foot">
    <input type="text" name="foot" value="_%foot%_">
  </div>
  <div class="option">
    _%category_id%_
    <input type="button" name="submit" value="更新" onclick="update_contents_by_form('main',this.form);this.disabled=true;">
  </div>
</form>
<form>
<div>
  <input type="hidden" name="mode" value="view" />
  <input type="hidden" name="id" value="_%id%_" />
  <input type="button" name="submit" value="取消" onclick="update_contents_by_form('item__%id%_',this.form);">
</form>
</div>